package com.beans;

import com.commons.util.Constants;
import com.commons.util.DateUtil;

import java.math.BigDecimal;
import java.util.Date;

public class NewProject extends BaseBean{
    private Long projectId;

    private String projectName;//楼盘名称

    private Integer buildingTotal;//总楼栋数

    private Long residenters;//总户数

    private String district;//所属区域

    private String address;//楼盘地址

    private Date buildingYears;//建筑年代

    private String developmentCompany;//开发公司

    private String propertyManager;//物业公司

    private Float propertyFee;//物业费

    private Integer buildingType;//建筑类型

    private String houseType;//别墅类型(|分隔)

    private Integer ageLimit;//产权年限

    private String parkingCondition;//车位状况

    private String greeningRate;//绿化率

    private String roomRate;//容积率

    private Long totalArea;//总占地

    private Long buildArea;//建筑面积

    private BigDecimal priceBottom;//总价起

    private BigDecimal priceTop;//总价止

    private BigDecimal areaBottom;//面积起

    private BigDecimal areaTop;//面积止

    private Date openingDate;//开盘时间

    private Date executeDate;//交房时间

    private String userIds;//项目经纪人(|分隔)

    private BigDecimal lon;//经度

    private BigDecimal lat;//纬度

    private String label;//特色标签(|分隔)

    private Integer status;//状态

    private String text;//项目介绍

    private String districtName;//区域名

    private String totalPrice;//总价

    private String totalOfArea;//

    private String userId1;

    private String userId2;

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName == null ? null : projectName.trim();
    }

    public Integer getBuildingTotal() {
        return buildingTotal;
    }

    public void setBuildingTotal(Integer buildingTotal) {
        this.buildingTotal = buildingTotal;
    }

    public Long getResidenters() {
        return residenters;
    }

    public void setResidenters(Long residenters) {
        this.residenters = residenters;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district == null ? null : district.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public Date getBuildingYears() {
        return buildingYears;
    }

    public void setBuildingYears(Date buildingYears) {
        this.buildingYears = buildingYears;
    }

    public String getDevelopmentCompany() {
        return developmentCompany;
    }

    public void setDevelopmentCompany(String developmentCompany) {
        this.developmentCompany = developmentCompany == null ? null : developmentCompany.trim();
    }

    public String getPropertyManager() {
        return propertyManager;
    }

    public void setPropertyManager(String propertyManager) {
        this.propertyManager = propertyManager == null ? null : propertyManager.trim();
    }

    public Float getPropertyFee() {
        return propertyFee;
    }

    public void setPropertyFee(Float propertyFee) {
        this.propertyFee = propertyFee;
    }

    public Integer getBuildingType() {
        return buildingType;
    }

    public void setBuildingType(Integer buildingType) {
        this.buildingType = buildingType;
    }

    public String getHouseType() {
        return houseType;
    }

    public void setHouseType(String houseType) {
        this.houseType = houseType == null ? null : houseType.trim();
    }

    public Integer getAgeLimit() {
        return ageLimit;
    }

    public void setAgeLimit(Integer ageLimit) {
        this.ageLimit = ageLimit;
    }

    public String getParkingCondition() {
        return parkingCondition;
    }

    public void setParkingCondition(String parkingCondition) {
        this.parkingCondition = parkingCondition == null ? null : parkingCondition.trim();
    }

    public String getGreeningRate() {
        return greeningRate;
    }

    public void setGreeningRate(String greeningRate) {
        this.greeningRate = greeningRate;
    }

    public String getRoomRate() {
        return roomRate;
    }

    public void setRoomRate(String roomRate) {
        this.roomRate = roomRate;
    }

    public Long getTotalArea() {
        return totalArea;
    }

    public void setTotalArea(Long totalArea) {
        this.totalArea = totalArea;
    }

    public Long getBuildArea() {
        return buildArea;
    }

    public void setBuildArea(Long buildArea) {
        this.buildArea = buildArea;
    }

    public BigDecimal getPriceBottom() {
        return priceBottom;
    }

    public void setPriceBottom(BigDecimal priceBottom) {
        this.priceBottom = priceBottom;
    }

    public BigDecimal getPriceTop() {
        return priceTop;
    }

    public void setPriceTop(BigDecimal priceTop) {
        this.priceTop = priceTop;
    }

    public BigDecimal getAreaBottom() {
        return areaBottom;
    }

    public void setAreaBottom(BigDecimal areaBottom) {
        this.areaBottom = areaBottom;
    }

    public BigDecimal getAreaTop() {
        return areaTop;
    }

    public void setAreaTop(BigDecimal areaTop) {
        this.areaTop = areaTop;
    }

    public String getOpeningDate() {
        return DateUtil.dateToString(openingDate, Constants.DATE_FORMART);
    }

    public void setOpeningDate(Date openingDate) {
        this.openingDate = openingDate;
    }

    public String getExecuteDate() {
        return DateUtil.dateToString(executeDate, Constants.DATE_FORMART);
    }

    public void setExecuteDate(Date executeDate) {
        this.executeDate = executeDate;
    }

    public String getUserIds() {
        return userIds;
    }

    public void setUserIds(String userIds) {
        this.userIds = userIds == null ? null : userIds.trim();
    }

    public BigDecimal getLon() {
        return lon;
    }

    public void setLon(BigDecimal lon) {
        this.lon = lon;
    }

    public BigDecimal getLat() {
        return lat;
    }

    public void setLat(BigDecimal lat) {
        this.lat = lat;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label == null ? null : label.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text == null ? null : text.trim();
    }

    public String getDistrictName() {
        return districtName;
    }

    public void setDistrictName(String districtName) {
        this.districtName = districtName;
    }

    public String getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(String totalPrice) {
        this.totalPrice = totalPrice;
    }

    public String getTotalOfArea() {
        return totalOfArea;
    }

    public void setTotalOfArea(String totalOfArea) {
        this.totalOfArea = totalOfArea;
    }

    public String getUserId1() {
        return userId1;
    }

    public void setUserId1(String userId1) {
        this.userId1 = userId1;
    }

    public String getUserId2() {
        return userId2;
    }

    public void setUserId2(String userId2) {
        this.userId2 = userId2;
    }
}